using UnityEngine;

public class DuelModeStartButtonSwitcher : MonoBehaviour
{
	public GameObject NormalButton;

	public GameObject DuelButton;

	private void Start()
	{
	}

	private void OnEnable()
	{
		if (Preloader.DuelFightModeConfig.IsEnabled && NintendoPlayerPrefs.GetInt("Level", 0) > 0)
		{
			DuelButton.SetActive(value: true);
			NormalButton.SetActive(value: false);
		}
		else
		{
			DuelButton.SetActive(value: false);
			NormalButton.SetActive(value: true);
		}
	}

	private void Update()
	{
	}
}
